package com.xwb.service;

import com.xwb.entity.Instorage;
import com.xwb.entity.Order;
import com.xwb.entity.User;
import com.xwb.entity.Warehouse;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface UserService {

    String register(String username,String psd,String qpsd,String phone);

    List<Warehouse> userQureyAllWarHouse();

    List<Order> userQueryAllInstorage();

    List<Warehouse> userQureyAllWarHouseBySort();

    List<Map<String,Object>> userQueryAllOutstorage();

    String inOldStorage(Integer productId,Integer number,Integer operatorId);

    String inNewStorage(Instorage instorage);

    String outStorage(Integer productId,Integer number,Integer retailerId,Integer operatorId);

    User queryUserByName(String username);
}
